package drds.binlog.protocol.protocol_proto;

/**
 * Created by ibm on 2018/10/4.
 */
public interface ClientAuthOrBuilder extends
        // @@protoc_insertion_point(interface_extends:com.alibaba.otter.canal.protocol.ClientAuth)
        com.google.protobuf.MessageOrBuilder
{

    /**
     * <code>string username = 1;</code>
     */
    String getUsername();

    /**
     * <code>string username = 1;</code>
     */
    com.google.protobuf.ByteString
    getUsernameBytes();

    /**
     * <pre>
     * hashed password with seeds from Handshake message
     * </pre>
     * <p>
     * <code>bytes password = 2;</code>
     */
    com.google.protobuf.ByteString getPassword();

    /**
     * <pre>
     * in seconds
     * </pre>
     * <p>
     * <code>int32 net_read_timeout = 3;</code>
     */
    int getNetReadTimeout();

    /**
     * <pre>
     * in seconds
     * </pre>
     * <p>
     * <code>int32 net_write_timeout = 4;</code>
     */
    int getNetWriteTimeout();

    /**
     * <code>string destination = 5;</code>
     */
    String getDestination();

    /**
     * <code>string destination = 5;</code>
     */
    com.google.protobuf.ByteString
    getDestinationBytes();

    /**
     * <code>string client_id = 6;</code>
     */
    String getClientId();

    /**
     * <code>string client_id = 6;</code>
     */
    com.google.protobuf.ByteString
    getClientIdBytes();

    /**
     * <code>string filter = 7;</code>
     */
    String getFilter();

    /**
     * <code>string filter = 7;</code>
     */
    com.google.protobuf.ByteString
    getFilterBytes();

    /**
     * <code>int64 start_timestamp = 8;</code>
     */
    long getStartTimestamp();

    public ClientAuth.NetReadTimeoutPresentCase getNetReadTimeoutPresentCase();

    public ClientAuth.NetWriteTimeoutPresentCase getNetWriteTimeoutPresentCase();
}
